{extend name="../../base/view/layout" /}
{block name="my_body"}
<div class="widgetbox box-inverse">
    <div class="widgetcontent wc1">

        <form id="form1" class="stdform" enctype="multipart/form-data" method="post" action="<?php echo url('shop/Brand/edit');?>">
            <div class="tabbable">
                <ul class="nav nav-tabs buttons-icons">
                    <li class="active"><a data-toggle="tab" href="#shop_info"><?php echo $_page_title;?></a></li>
                </ul>
                <div class="tab-content">
                    <div id="shop_info" class="tab-pane active">


                        <div class="par control-group">
                            <label class="control-label" for="name">品牌名称</label>
                            <div class="controls"><input type="text" name="name" id="name" class="input-xlarge" value="<?php echo $data['name'];?>" /></div>
                        </div>
                        <div class="par control-group">
                            <label class="control-label" for="url">品牌官网</label>
                            <div class="controls"><input type="text" name="url" id="url" class="input-xlarge" value="<?php echo $data['url'];?>" /></div>
                        </div>
            <input type="hidden" name="id" class="input-xlarge" value="<?php echo $data['id'];?>" />

                        <div class="control-group par">
                            <label class="control-label" for="logo">品牌Logo</label>
                            <div class="controls"><input type="file" name="logo" id="logo" class="input-xlarge"   /></div>
                        </div>

                        <div class="control-group par">
                            <label class="control-label" for="logo"></label>
                            <div class="controls"><?php showImage($data['logo']);?></div>
                        </div>
                    </div>
                </div>
            </div>


            <p class="stdformbutton">
                <input type="submit" class="btn btn-primary" />
            </p>
        </form>
    </div><!--widgetcontent-->
</div><!--widget-->
{/block}

{block name="my_js"}


{/block}